export const configTypeData = [
    {
        value: 'EQUIPMENT',
        label: '设备'
    },
    {
        value: 'SERVER',
        label: '服务'
    }
]

export const alertGradeOptions: any = {
    INFO: {
        name: '一般',
        tagType: ''
    },
    WARN: {
        name: '告警',
        tagType: 'warning'
    },
    ERROR: {
        name: '紧急',
        tagType: 'danger'
    }
}

export const statusOptions: any = {
    '0': {
        name: '未处理',
        dotType: 'red-color'
    },
    '1': {
        name: '已处理',
        dotType: 'green-color'
    },
    '2': {
        name: '无需处理',
        dotType: 'gray-color'
    }
}

export const initPointOptions = [
    {
        label: '监控项',
        id: 'TEMPLATE_MONITOR',
        options: [],
        isNORMAL: true,
        isADVANCED: true
    },
    // {
    //   label: '设备数据',
    //   id: 'DATA_ROW',
    //   options: []
    // },
    {
        label: 'AI算法',
        id: 'FREQUENCY',
        options: [],
        isNORMAL: false,
        isADVANCED: true
    }
]

export const initBroadcastParams: any = {
    content: '',
    interval: '',
    intervalUnit: '',
    times: '',
    broadcastConfigIds: []
}
